/**
 * 项目名：五位一体化工安全信息平台
 * 日期：    2019-12-08 15:07:43
 * Copyright (c) 2015- joysuch-版权所有
 */
package com.joysuch.wwyt.bp.bean.contractor;

import cn.zlg.common.springmvc.validate.constraints.NotNull;
import com.joysuch.wwyt.core.bean.BaseAttachmentBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

@Data
public class BpContractorBean {

    @ApiModelProperty("id-修改时传值")
    private Long id;
    @NotNull(message = "承包商单位名称不能为空")
    @ApiModelProperty("承包商单位名称")
    private String companyName;
    @ApiModelProperty("编号-新增不用传")
    private String code;
    @ApiModelProperty("承包商单位地址")
    private String companyAddress;
    @ApiModelProperty("承包商类别")
    private String contractorType;
    @ApiModelProperty("承包商业务类型")
    private List<Integer> businessTypeList;
    @ApiModelProperty("公司法人")
    private String companyLegalPerson;
    @ApiModelProperty("统一社会信用代码")
    private String unifiedSocialCreditCode;
    @ApiModelProperty("承包商电话")
    private String contractorTel;
    @ApiModelProperty("邮箱")
    private String mail;
    @ApiModelProperty("安全负责人")
    private String safetyDirector;
    @ApiModelProperty("安全负责人电话")
    private String safetyDirectorTel;
    @ApiModelProperty("公司介绍")
    private String companyIntroduction;
    @ApiModelProperty("经营范围")
    private String businessScope;
    @ApiModelProperty("责任书签订日期")
    private LocalDate dutyScriptSignDate;
    @ApiModelProperty("责任书到期日期")
    private LocalDate dutyScriptExpireDate;
    @ApiModelProperty("责任书附件")
    private BaseAttachmentBean dutyScriptAttachment;
    @ApiModelProperty("承包商资质证书集合")
    private List<Long> contractorCertIdList;
    @ApiModelProperty("承包商资质证书详情")
    private List<BpContractorCertBean> contractorCertList;
    //@ApiModelProperty("承包商资质证书集合")
    //private List<Long> contractorCertIdList;

    //外部链接URL
    private String refUrl;
    @ApiModelProperty("单位性质")
    private String unitNature;
    //承包商所属责任部门id
    @ApiModelProperty("承包商管理部门id")
    private Long responsibleDept;
    //承包商所属责任部门名称
    @ApiModelProperty("承包商管理部门名称")
    private String responsibleDeptName;
}

